package cn.piaoyi.bean;

import java.io.*;
import java.util.Date;
import java.util.List;

public class OrderInfo implements Serializable {
	private static final long serialVersionUID = 3938860373226088110L;
	
	private long id;			//主键ID
	private String orderNO;		//订单号
	private String orderName;	//订单名称
	private long userId;		//用户ID
	private int orderStatus;	//订单状态
	private int shippingStatus;	//商品配送情况
	private int payStatus;		//支付状态
	private String consignee;	//收件人
	private String province;	//省
	private String city;		//市
	private String district;	//地区
	private String address;		//地址
	private String zipcode;		//邮编
	private String mobile;		//手机
	private String email;		//邮箱
	private int shippingId;		//用户选择的配送方式id
	private String shippingName;//配送名称
	private int payId;			//支付ID
	private String payName;		//支付名称
	private int goodsAmount;	//商品总金额
	private int shippingAmount;	//配送金额
	private int orderAmount;	//总共费用
	private Date addTime;		//添加日期
	private Date confirmTime;	//订单确认时间
	private Date payTime;		//订单支付时间
	private Date shippingTime;	//订单配送时间
	private String shippingNO;	//配送号
	
	private List orderGoodses;	//订单商品
	private UserInfo userInfo;	//用户信息
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getOrderNO() {
		return orderNO;
	}
	public void setOrderNO(String orderNO) {
		this.orderNO = orderNO;
	}
	public String getOrderName() {
		return orderName;
	}
	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public int getShippingStatus() {
		return shippingStatus;
	}
	public void setShippingStatus(int shippingStatus) {
		this.shippingStatus = shippingStatus;
	}
	public int getPayStatus() {
		return payStatus;
	}
	public void setPayStatus(int payStatus) {
		this.payStatus = payStatus;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getZipcode() {
		return zipcode;
	}
	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getShippingId() {
		return shippingId;
	}
	public void setShippingId(int shippingId) {
		this.shippingId = shippingId;
	}
	public String getShippingName() {
		return shippingName;
	}
	public void setShippingName(String shippingName) {
		this.shippingName = shippingName;
	}
	public int getPayId() {
		return payId;
	}
	public void setPayId(int payId) {
		this.payId = payId;
	}
	public String getPayName() {
		return payName;
	}
	public void setPayName(String payName) {
		this.payName = payName;
	}
	public int getGoodsAmount() {
		return goodsAmount;
	}
	public void setGoodsAmount(int goodsAmount) {
		this.goodsAmount = goodsAmount;
	}
	public int getShippingAmount() {
		return shippingAmount;
	}
	public void setShippingAmount(int shippingAmount) {
		this.shippingAmount = shippingAmount;
	}
	public int getOrderAmount() {
		return orderAmount;
	}
	public void setOrderAmount(int orderAmount) {
		this.orderAmount = orderAmount;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Date getConfirmTime() {
		return confirmTime;
	}
	public void setConfirmTime(Date confirmTime) {
		this.confirmTime = confirmTime;
	}
	public Date getPayTime() {
		return payTime;
	}
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	public Date getShippingTime() {
		return shippingTime;
	}
	public void setShippingTime(Date shippingTime) {
		this.shippingTime = shippingTime;
	}
	public String getShippingNO() {
		return shippingNO;
	}
	public void setShippingNO(String shippingNO) {
		this.shippingNO = shippingNO;
	}
	
	
	public List getOrderGoodses() {
		return orderGoodses;
	}
	public void setOrderGoodses(List orderGoodses) {
		this.orderGoodses = orderGoodses;
	}
	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
}
